package com.gexiaobao.pigeon.app.model.bean

import android.os.Parcelable
import kotlinx.android.parcel.Parcelize

/**
 * @Author      : hxw
 * @Date        : 2023/7/8 10:38
 * @Describe    :
 */
@Parcelize
class CollectGoodsResponse(

    var total: Int = 0,
    var list: ArrayList<ListBean> = ArrayList()

) : Parcelable {

    /**
     * 数据是否为空
     */
    fun isEmpty() = list == null || (list as List<*>).isEmpty()

    @Parcelize
    class ListBean(

        var id: Int = 0,
        var goodName: String = "",
        var goodImg: String = "",
        var minPrice: Double = 0.00,
        var maxPrice: Double = 0.00,
        var shopId: Int = 0,
        var shopName: String = "",
        var goodId: Int = 0,
        var createdAt: String = ""

    ) : Parcelable
}